package com.qian.api.ddj.service;

import com.qian.api.ddj.model.CustomerChannel;
import com.qian.api.ddj.model.User;
import com.yaowk.api.common.IBaseService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

public interface IUserService extends IBaseService<User, Integer> {

    void recharge(Integer id, BigDecimal money);

    BigDecimal platformBalance();

    void businessEdit(Integer userId, List<Integer> bussinessIds);

    Set<CustomerChannel> findCustomerChannelById(Integer userId);

    void lockMoney(Integer userId, BigDecimal money);

    void unLockMoney(Integer userId, BigDecimal money);
}
